package cn.bx.bid;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableSwagger2
//指明映射接口的位置
@MapperScan("cn.bx.bid.dao")
//@ImportResource("classpath:xxx.xml")
public class BidApplication {
    //jar
    //java -jar --spring.profiles.active=test xxx.jar
    public static void main(String[] args) {
        SpringApplication.run(BidApplication.class, args);
    }

}
